import {
    request
} from "./request";
import qs from "qs";

export function telLogin(obj) {
    return request({
        url: "user/telLogin",
        method: "post",
        data: qs.stringify(obj)
    });
}

// 用户微信登录
export function wxLogin(obj) {
    return request({
        url: "user/login",
        method: "post",
        data: qs.stringify(obj)
    });
}


// 获取当前版本信息
export function getVer(obj) {
    return request({
        url: "login/getVer",
        method: "post",
        data: qs.stringify(obj)
    });
}
